package cn.hl.sfzy.mapper;

import cn.hl.sfzy.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper {
    int insert(Article article);
    int update(Article article);
    int updateid(@Param("id")Long id, @Param("o")Long o);
    int delete(Long id);
    int deleteType(Long id);
    List<Article> select(Article article);
    List<Article> selectByConsultId(Long teacher_id);
    List<Article> selectAll();
}
